package com.demo.salary.payrollimplementation;


import com.demo.salary.PayCheck;
import com.demo.salary.payrolldomain.PaymentClassification;

public class SalariedClassification extends PaymentClassification {
    double itsSalary;

    public SalariedClassification(double itsSalary) {
        this.itsSalary = itsSalary;
    }

    @Override
    public double calculatePay(PayCheck pc) {
        return itsSalary;
    }

    public double getItsSalary() {
        return itsSalary;
    }
}
